package sunstar.com.xq.adapter

import android.content.Context
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import sunstar.com.xq.R
import sunstar.com.xq.util.ViewInitUtil

/**
 * Created by Sun.Star on 2017/6/22.
 */
class GroupAdapter(var context:Context) : RecyclerView.Adapter<GroupAdapter.GroupHolder>() {
    override fun onBindViewHolder(holder: GroupHolder?, position: Int) {

    }

    override fun getItemCount(): Int = 7

    override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): GroupHolder{
        TODO()
    }

    class GroupHolder(itemView: View):RecyclerView.ViewHolder(itemView){
        val viewInit by lazy{
            ViewInitUtil(itemView)
        }

    }
}